
#include "AbstractDataItem.hpp"
#include "../OLApp/defines.hpp"

namespace NSCore {

	AbstractDataItem::AbstractDataItem():
		QTreeWidgetItem(),
		AbstractObject()
	{
		_init();

	}

	AbstractDataItem::AbstractDataItem(QTreeWidget* tree) :
		QTreeWidgetItem(tree),
		AbstractObject() 
	{
		_init();
	}

	AbstractDataItem::AbstractDataItem(QTreeWidgetItem* view):
		QTreeWidgetItem(view),
		AbstractObject()
	{
		_init();
	}

	AbstractDataItem::~AbstractDataItem() {

	}

	void AbstractDataItem::_init() {


	}

	void AbstractDataItem::getPropertyTree(QTreeWidget* p_tree) {
		const auto& top_tree = new QTreeWidgetItem(p_tree);
		top_tree->setText(0, text(0));

	}

}